CSSRule

data class CSSRule(styleSheetId: StyleSheetId?, selectorList: SelectorList, origin: StyleSheetOrigin, style: CSSStyle, media: List<CSSMedia>?)

CSS rule representation.

Constructors

CSSRule
Link copied to clipboard
fun CSSRule(styleSheetId: StyleSheetId? = null, selectorList: SelectorList, origin: StyleSheetOrigin, style: CSSStyle, media: List<CSSMedia>? = null)

Properties

media
Link copied to clipboard
val media: List<CSSMedia>? = null
Media list array (for rules involving media queries).
origin
Link copied to clipboard
val origin: StyleSheetOrigin
Parent stylesheet's origin.
selectorList
Link copied to clipboard
val selectorList: SelectorList
Rule selector data.
style
Link copied to clipboard
val style: CSSStyle
Associated style declaration.
styleSheetId
Link copied to clipboard
val styleSheetId: StyleSheetId? = null
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

Sources

jvm source
Link copied to clipboard